package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:25 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseWorkspaceFileTypeConfigDAO
    extends IDataAccessInterface<WorkspaceFileTypeConfig, WorkspaceFileTypeConfigDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "WORKSPACE_FILE_TYPE_CONFIG";

  /** Mapped Field ID */
  static final String Id = "WORKSPACE_FILE_TYPE_CONFIG.ID";

  /** Mapped Field FILE_TYPE_NAME */
  static final String FileTypeName = "WORKSPACE_FILE_TYPE_CONFIG.FILE_TYPE_NAME";

  /** Mapped Field FILE_EXTENSION */
  static final String FileExtension = "WORKSPACE_FILE_TYPE_CONFIG.FILE_EXTENSION";

  /** Mapped Field FILE_EDITOR_MODE */
  static final String FileEditorMode = "WORKSPACE_FILE_TYPE_CONFIG.FILE_EDITOR_MODE";

  /** Mapped Field FILE_TYPE_ICON */
  static final String FileTypeIcon = "WORKSPACE_FILE_TYPE_CONFIG.FILE_TYPE_ICON";

  /** Mapped Field IS_COUNT_LINE */
  static final String IsCountLine = "WORKSPACE_FILE_TYPE_CONFIG.IS_COUNT_LINE";

  /** Mapped Field IS_CAN_DIFF */
  static final String IsCanDiff = "WORKSPACE_FILE_TYPE_CONFIG.IS_CAN_DIFF";

  /** Mapped Field STATUS */
  static final String Status = "WORKSPACE_FILE_TYPE_CONFIG.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "WORKSPACE_FILE_TYPE_CONFIG.REMARKS";

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute fileTypeName */
    static final String FileTypeName = "fileTypeName";

    /** Attribute fileExtension */
    static final String FileExtension = "fileExtension";

    /** Attribute fileEditorMode */
    static final String FileEditorMode = "fileEditorMode";

    /** Attribute fileTypeIcon */
    static final String FileTypeIcon = "fileTypeIcon";

    /** Attribute isCountLine */
    static final String IsCountLine = "isCountLine";

    /** Attribute isCanDiff */
    static final String IsCanDiff = "isCanDiff";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  WorkspaceFileTypeConfig findById(final long id) throws Exception;
}
